//
//  NSDate+Extension.swift
//  CWLiving
//
//  Created by 方正刚 on 2017/7/7.
//  Copyright © 2017年 方正刚. All rights reserved.
//

import Foundation

extension NSDate {
    
    class func getCurrentTime() ->String {
        
        let nowDate = NSDate()
        
        let interval = Int(nowDate.timeIntervalSince1970)
        
        return "\(interval)"
        
    }
    
}
